﻿using System;
using System.Collections.Generic;
using System.ServiceModel.Configuration;
using System.Text;
using System.Configuration;

namespace HTTPGetUtility
{
    class HttpGetBehaviorExtensionElement : BehaviorExtensionElement
    {
        /// <summary>    
        /// The type of the behavior (in this instance HttpGetEndpointBehavior)    
        /// </summary>    
        public override Type BehaviorType
        {
            get
            {
                return typeof(HttpGetEndpointBehavior);
            }
        }

        /// <summary>    
        /// Creates a new instance of the HttpGetEndpointBehavior behavior extension     
        /// </summary>    
        /// <returns></returns>    

        protected override object CreateBehavior()
        {
            return new HttpGetEndpointBehavior();
        }
    }
}
